package com.aplink.generic.dialog;

import java.io.Serializable;

import com.aplink.generic.constant.type.ActionType;

public class DialogButton implements Serializable {
    private static final long serialVersionUID = 966344339990384153L;
    private boolean isFinishActivity;
    private boolean isLinkToNextPage;
    private ActionType mActionType;
    private String mMessage;

    public ActionType getActionType() {
        return this.mActionType;
    }

    public String getText() {
        return this.mMessage;
    }

    public boolean isFinishActivity() {
        return this.isFinishActivity;
    }

    public boolean isLinkToNextPage() {
        return this.isLinkToNextPage;
    }

    public void setActionType(final ActionType actionType) {
        this.mActionType = actionType;
    }

    public void setFinishActivity(final boolean isFinishActivity) {
        this.isFinishActivity = isFinishActivity;
    }

    public void setLinkToNextPage(final boolean isLinkToNextPage) {
        this.isLinkToNextPage = isLinkToNextPage;
    }

    public void setText(final String message) {
        this.mMessage = message;
    }

}
